package model

import "time"

type HomePage struct {
	ID        uint64    `gorm:"primaryKey;autoIncrement;column:id" json:"id"`
	UserId    uint64    `gorm:"column:user_id" json:"user_id"`
	HomeUrl   string    `gorm:"column:home_url" json:"home_url"`
	CreatedAt time.Time `gorm:"column:created_at;type:datetime" json:"created_at"`
	UpdatedAt time.Time `gorm:"column:updated_at;type:datetime" json:"updated_at"`
}

func (HomePage) TableName() string {
	return "douyin_homepage"
}
